<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>分数列表</title>
		<link href="admin/css/edit.css" rel="stylesheet"  type="text/css"/>
	</head>
	<body>
		<div id="q-container">
			<div id="q-top">    
			        <h2>调查问卷系统</h2>
                <h4>欢迎你：<?php session_start(); echo $_SESSION['name']?> <a href="/index/index/edit/user_email/<?php echo $_SESSION['email']?>">编辑</a> <a href="/index/login/loginOut">退出</a></h4>
			</div>
			<div id="link">
                <ul>
                    <li><a href="/index.php?s=admin/questionnaire/index">问卷列表</a></li>
                    <li><a href="/index.php?s=admin/score/index">分数列表</a></li>
                    <li><a href="/index.php?s=admin/users/index">用户列表</a></li>
                    <li><a href="/index.php?s=admin/admin/adminList">管理员</a></li>
                </ul>
			</div>
			<div id="q-content">
				<h3>请编辑您的信息</h3>
				<form action="/index.php?s=admin/users/editSave" method="post">
					<table class="list">
						<tbody>
							<tr>
								<th>用户ID:</th>
								<td><input type="text" name="user_id" class="text" value="<?php echo $userList['user_id']?>" readonly="readonly"/></td>
							</tr>
							<tr>
								<th>用户名:</th>
								<td><input type="text" name="user_name"  class="text" value="<?php echo $userList['user_name']?>"/></td>
							</tr>
							<tr>
								<th>邮箱:</th>
								<td><input type="text" name="user_email" class="text" value="<?php echo $userList['user_email']?>" readonly="readonly"/></td>
							</tr>
							<tr>
								<th>密码:</th>
								<td><input type="text" name="user_pwd" class="text" value="<?php echo md5($userList['user_pwd'])?>"/></td>
							</tr>
							<tr>
								<th>确认密码:</th>
								<td><input type="text" name="pwds" class="text" value="<?php echo md5($userList['user_pwd'])?>"/></td>
							</tr>
						</tbody>
					</table>
					<input id="button" type="submit" value="提交" />
				</form>
			</div>
		</div>
	</body>
</html>
